package com.gxa.modules.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.Date;
/** 
 * @team mackie Studio 
 * @Author kk 
 * @Date 2023-03-17 20:15:22 
 */
@Entity
@Data
@TableName("crm_retrieve" )
public class CrmRetrieve  implements Serializable {

	private static final long serialVersionUID =  1815017108264449948L;

	/**
	 * 主键ID(自增)
	 */
	@Id
	@TableId(value = "retrieve_id", type = IdType.AUTO)
	private Integer retrieveId;

	/**
	 * 客户名称
	 */
   	@TableField("customer_name" )
	private String customerName;

	/**
	 * 删除原因
	 */
   	@TableField("reason" )
	private String reason;

	/**
	 * 删除时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("date" )
	private Date date;

	/**
	 * 业务员id
	 */
   	@TableField("employee_id" )
	private Integer employeeId;

	/**
	 * 状态（2：已还原，3：已转入公海，0：彻底删除，1：回收站）
	 */
   	@TableField("status" )
	private Long status;
}
